import React from 'react'
import PropTypes from 'prop-types'
import { Button } from 'antd'
import router from 'umi/router'
import './index.styl'

function TitleLine ({ title }) {
  return (
    <div className='TitleLine'>
      <div className='title'>{ title }</div>
    </div>
  )
}

TitleLine.propTypes = {
  title: PropTypes.string.isRequired
}

export default TitleLine
